package com.hippo.core.ui.components

import androidx.compose.foundation.layout.Box
import androidx.compose.foundation.layout.fillMaxSize
import androidx.compose.runtime.Composable
import androidx.compose.ui.Modifier
import com.bumptech.glide.integration.compose.ExperimentalGlideComposeApi
import com.bumptech.glide.integration.compose.GlideImage


@OptIn(ExperimentalGlideComposeApi::class)
@Composable
fun GifImage(id: Int,modifier: Modifier = Modifier) {

    Box(modifier = modifier.fillMaxSize()) {
        GlideImage(
            model = id,
            contentDescription = null,
            modifier = Modifier.fillMaxSize()
        )
    }

}